package com.zzw.basic.java;

public class GCTest {

	private Object instance = null;
	private static final int _10M = 10 * 1 << 20;
	private byte[] bigSize = new byte[_10M];
	
	public static void main(String[] args) {
		
		System.out.println("_10M:" + _10M);
		
		GCTest objA = new GCTest();
		GCTest objB = new GCTest();
		
		objA.instance = objB;
		objB.instance = objA;
		
		objA = null;
		objB = null;
		
		System.gc();
	}
}